ode Interface

interface
public subroutine ode(x, y, dydx, args)

Arguments

Type IntentOptional Attributes Name
real(kind=real64), intent(in) :: x

The current value of the independent variable.

real(kind=real64), intent(in), dimension(:) :: y

An N-element array containing the current values of the dependent variables.

real(kind=real64), intent(out), dimension(:) :: dydx

An N-element array where the derivative values will be written.

class(*), intent(inout), optional :: args

An optional argument that can be used to pass information in and out of the routine.

Description

An interface to a routine containing a system of first order ODE's to integrate.